package mh.interfaces;

/**
 * An Entity is the thing that handle movements and collision for each sprite.
 * 
 * @author Gianmarco Laggia
 * 
 */
public interface IEntity {

	public void move();

	public void setSpeed();

	public double getSpeed();

	public void draw();

	/**
	 * Get the x location of this entity
	 * 
	 * @return The x location of this entity
	 */
	public int getX();

	/**
	 * Get the y location of this entity
	 * 
	 * @return The y location of this entity
	 */
	public int getY();

	public boolean collidesWith();
}
